package com.twobyeyoung.nearby;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.twobyeyoung.R;

public class FilterActivity extends Activity implements OnClickListener{
	
	Button mConfirm;
	Button mCancel;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.filter_activity);
		init();
	}
	
	private void init() {
		mConfirm = (Button) findViewById(R.id.btnOk);
		mCancel = (Button) findViewById(R.id.btnCancel);
		mConfirm.setOnClickListener(this);
		mCancel.setOnClickListener(this);
	}

	@Override
	public void onClick(View v) {
		switch(v.getId()) {
		case R.id.btnOk:
		case R.id.btnCancel:
			finish();
			break;
		}
	}

}
